The same problem was once fixed by c/s 23878:
59c7213b5949
but c/s 25344:
0f3b1e13d6af broke it.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
* On subsequent reboot etc we should create the domain, not
* restore/migrate-receive it again.
*/
- restore_file = NULL;
+ restoring = 0;
}else{
ret = libxl_domain_create_new(ctx, &d_config, &domid,
0, autoconnect_console_how);